package com.openbravo.pos.printer;

public class FlyerAnimator extends BaseAnimator
{
  public FlyerAnimator(String paramString1, String paramString2)
  {
    this.baseLine1 = DeviceTicket.alignLeft(paramString1, 20);
    this.baseLine2 = DeviceTicket.alignLeft(paramString2, 20);
  }

  public void setTiming(int paramInt)
  {
    if (paramInt < 20)
    {
      this.currentLine1 = DeviceTicket.alignRight(this.baseLine1.substring(0, paramInt), 20);
      this.currentLine2 = DeviceTicket.alignRight(this.baseLine2.substring(0, paramInt), 20);
    }
    else
    {
      this.currentLine1 = this.baseLine1;
      this.currentLine2 = this.baseLine2;
    }
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.printer.FlyerAnimator
 * JD-Core Version:    0.6.0
 */